package com.team5101.service.impl;

import com.team5101.dao.IUserDao;
import com.team5101.entity.User;
import com.team5101.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements IUserService {

@Autowired
 private IUserDao userDao;

    public User toLogin(User user) {

        return userDao.toLogin(user);
    }

    public User seeDats(String uTelephone) {
        return userDao.seeData(uTelephone);
    }

    public int userModify(User user) {
        return userDao.userModify(user);
    }

}
